<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<script>
    if(1=='1'){
        console.info("true");
    }
    if(1==='1'){
        console.info("true");
    }else{
        console.info("false");
    }


    var cc = 1;
    console.info(1==2 && ++cc > 0);
    console.info(1==1 ||cc++ >0);
    console.info(!1==1);
    console.info(cc);


    var a = 3;
    var b = 2;
    var c = 3;
    a > b ?++c:--c;
    console.info(c);
/*

    var age = 17;

    if(age < 15){
        console.info("11111");
        console.info("22222")
    }
    if(age >= 18){
        console.info("已经成年");
    }else{
        console.info("未成年");
    }
    var score = 76;
    if(score >=90){
        console.info("优秀");
    }else if(score >=80){
        console.info("良好");
    }else if(score >=70){
        console.info("中等");
    }else if(score >=60){
        console.info("及格");
    }else{
        console.info("不及格");
    }
   console.info(Math.trunc(score/10));

    switch(Math.trunc(score/10)){
        case 9:
            console.info("优秀");break;
        case 8:
            console.info("良好");break;
        case 7:
            console.info("中等");break;
        default:
              console.info("差");
   }

   //for(var str in objs){
   //}
   for(var i=1;i<=100;i++){
       console.info("你好"+i);
   }

   var w = 1;
   while(w<=100){
       console.info("while"+w);
       ++w;
   }

   var n = 0;
   do{
       ++n;
       console.info("dowhile"+n);
   }while (n<100)

   var sum = 0;
   for(var i = 0;i<5;i++){
       //if(i == 3) break;
       if(i == 3) continue;
       sum = sum +i;
   }
   console.info(sum);
   */
</script>
<body>

</body>
</html>